package jp.tuyano.core;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

public class PMF {

    private static final PersistenceManagerFactory pmfInstance;

    private PMF() {
        throw new AssertionError();
    }

    static {
        pmfInstance =
            JDOHelper.getPersistenceManagerFactory("transactions-optional");
    }

    public static PersistenceManagerFactory get() {
        return pmfInstance;
    }
}
